<{include file="admin/admin_head.html"}>
<link rel="stylesheet" href="<{$smarty.const.__URL__}>plugins/ueditor/themes/default/ueditor.css"/>
<link rel="stylesheet" href="<{$smarty.const.VAR_URL}>css/flick/jquery-ui-1.8.20.custom.css"/>
<script type="text/javascript">
	URL = "<{$smarty.const.__URL__}>plugins/ueditor/";
</script>
<body>
	<{include file="admin/admin_nav.html"}>
	<h1>修改招聘</h1>
	<form action="jobs.php" method="post">
		<p><label for="title">职位名称：</label><input type="text" name="name" value="<{$ct.name}>" /></p>
		<p><label for="title">工作地点：</label><input type="text" name="location" value="<{$ct.location}>" /></p>
		<p><label for="title">招聘人数：</label><input type="text" name="needs" value="<{$ct.needs}>" /></p>
		<p><label for="title">学历要求：</label><input type="text" name="education" value="<{$ct.education}>" /></p>
		<p><label for="title">工作经验：</label><input type="text" name="experience" value="<{$ct.experience}>" /></p>
		<p><label for="title">结束时间：</label><input type="text" name="endtime" class="datepickerField" value="<{$ct.endtime|date_format:'%Y-%m-%d'}>" readonly="true" style="position:relative;z-index:999" /></p>
		<p><label for="description">描述：</label></p>
		<p><label for="description">&nbsp;&nbsp;&nbsp;&nbsp;</label>
			<textarea name="description" id="content" value="<{$ct.description}>"></textarea>
		</p>
		<p>
			<input type="submit" name="submit" value="提交" />
			<input type="hidden" name="id" value="<{$ct.id}>" />
			<input type="hidden" name="action" value="editJobs">
		</p>
	</form>
	<script type="text/javascript" src="<{$smarty.const.VAR_URL}>js/jquery-ui-1.8.2.min.js"></script>
	<script type="text/javascript" src="<{$smarty.const.__URL__}>plugins/ueditor/editor_config.js"></script>
	<script type="text/javascript" src="<{$smarty.const.__URL__}>plugins/ueditor/editor_all_min.js"></script>	
<script type="text/javascript">
	var editor = new baidu.editor.ui.Editor();
	editor.render("content");
	$(document).ready(function(){
		$( ".datepickerField" ).datepicker({ dateFormat: "yy-mm-dd" });
	})
</script>
</body>
</html>

